home *** CD-ROM | disk | FTP | other *** search
- void __regargs __autoopenfail(char *);
-
- #include <proto/exec.h>
- struct Library *GadOutlineBase ;
- static void *libbase;
- extern long __gadoutlinever;
-
- void __stdargs _STI_opengadoutline(void)
- {
- GadOutlineBase = libbase =
- (void *)OpenLibrary("gadoutline.library", __gadoutlinever);
-
- if(GadOutlineBase == NULL)
- GadOutlineBase = libbase =
- (void *)OpenLibrary("PROGDIR:gadoutline.library", __gadoutlinever);
-
- if (GadOutlineBase == NULL)
- __autoopenfail("gadoutline.library");
- }
-
- void __stdargs _STD_closegadoutline(void)
- {
- if (libbase)
- {
- CloseLibrary((struct Library *)libbase);
- libbase = GadOutlineBase = NULL;
- }
- }
-